using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Provider2 : System.Web.UI.UserControl, IMessage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    [ConnectionProvider("Message Provider 2", "MessageProvider2")]
    public IMessage GetMessageProvider()
    {
        return this;
    }

    #region IMessage Members

    public string Message
    {
        get
        {
            return txtMessage.Text;
        }
        set
        {
            txtMessage.Text = value;
        }
    }

    #endregion
}
